package com.pojo.resp.template;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author hewei
 * @since 2020-08-28
 */
@Data
public class TemplatePageResp{
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 存储下级数据
     */
    private List<TemplatePageResp> children;

    /**
     * 菜单名
     */
    private String name;

    /**
     * 菜单路由
     */
    private String path;


    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 菜单索引
     */
    private Short sort;

    /**
     * 菜单索引
     */
    private Short label;

}
